import { Module } from "@nestjs/common";
import { MenuRepositry } from "./menu.repositry";
import { TypeOrmModule } from "@nestjs/typeorm";
import { MenuClosure, MenuEntity } from "./entity/menu.entity";
import { menuService } from "./menu.service";
import { MenuController } from "./menu.controller";

@Module({
  imports: [
    TypeOrmModule.forFeature([
      MenuEntity, MenuClosure
    ])
  ],
  controllers: [MenuController],
  providers: [menuService, MenuRepositry]
})
export class MenuModule { }